package lhdx11;

public class PcTest {
    public static void main(String[] args) {
        Pc a=new Pc("华硕",6666);
        a.show();
        System.out.print( a.cpuBrand()+",");
        System.out.println(a.cpuZp()+"GHz");
        System.out.print(a.memoryType()+",");
        System.out.println(a.capacity()+"GB");
        System.out.println(a.yicapacity()+"GB");
    }
}
